package com.amigo.online.common.param.dto.video;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

public class AdvSourceCheckDto {
	
	@NotNull
	@Digits(integer=20,fraction=0)
	private Long effectDay;
	@NotNull
	@Digits(integer=20,fraction=0)
	private Long code;
	@NotEmpty
	private List<Long> areaIds;
	@Min(0)
	@Max(100)
	private Integer count;
	
	
	
	public Long getEffectDay() {
		return effectDay;
	}
	public void setEffectDay(Long effectDay) {
		this.effectDay = effectDay;
	}
	public Long getCode() {
		return code;
	}
	public void setCode(Long code) {
		this.code = code;
	}
	public List<Long> getAreaIds() {
		return areaIds;
	}
	public void setAreaIds(List<Long> areaIds) {
		this.areaIds = areaIds;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
}
